package com.sxt.pro.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sxt.pro.mapper.WaterFallMapper;
import com.sxt.pro.pojo.WaterFall;
import com.sxt.pro.service.WaterFallService;

/**  

* @Description: 

* @author xinxiaokang  

* @date 2020年10月22日 下午1:57:09

*/
@Service
@Transactional
public class WaterFallServiceImpl extends ServiceImpl<WaterFallMapper, WaterFall> implements WaterFallService{

	/**
	 * 推送热销产品、互动营销数据
	 */
	@Override
	public List<WaterFall> sendProductData(String terminal_no) {
		return this.getBaseMapper().sendProductData(terminal_no);
	}

	/**
	 * 获取添加的主键id
	 */
	@Override
	public int saveToId() {
		return this.getBaseMapper().saveToId();
	}

}
